<div>
  <app-design-form-build
    #formBuild
    [json]="data.json"
    [initValue]="test"
  ></app-design-form-build>
  
  <button nz-button (click)="valid()">valid</button>
  <button nz-button mat-dialog-close>Cancel</button>
</div>